package com.bdqn.xu.service.impl;

import com.bdqn.xu.dao.InvitationDao;
import com.bdqn.xu.pojo.Invitation;
import com.bdqn.xu.service.InvitationServers;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("deptServer")
public class InvitationServersImpl implements InvitationServers {
    @Resource
    private InvitationDao invitationDao;

    @Override
    public Invitation getInvitationByid(){
        return invitationDao.getInvitationByid();
    }
    @Override
    public List<Invitation> getList(){
        return invitationDao.getList();
    };
    @Override
    public  List<Invitation> likelist(String title){
        return invitationDao.likelist(title);
    };
    @Override
    public  void  delReply(Integer id){
       invitationDao.delReply(id);
    }

}
